package com.chinasofti;

public class Demo02 {
    public static void main(String[] args) {
        String s1=new String();//空的字符串
        System.out.println("s1="+s1);

        char[] chs ={'a','b','c'};
        String s2 = new String(chs);
        System.out.println("s2="+s2);
        String s3 = new String("123");
        System.out.println("s3="+s3);
    }
}
